import React, { FC } from 'react';
import { Select, Button } from 'antd';
const { Option } = Select;
import { SearchOutlined } from '@ant-design/icons';
import {IExam} from '@/interface/examList'
const Xiala: FC<IExam> = (props:any) => {
  const handleChange = (value: any) => {
    console.log(`selected ${value}`);
  };
  console.log(props)
  return (
    <>
      <li>
        考试类型:
        <Select
          defaultValue="lucy"
          style={{ width: 120 }}
          onChange={() => {
            handleChange;
          }}
        >
          <Option value="jack">Jack</Option>
          <Option value="lucy">Lucy</Option>
        </Select>
      </li>
      <li>
        课程:
        <Select
          defaultValue="lucy"
          style={{ width: 120 }}
          onChange={() => {
            handleChange;
          }}
        >
          <Option value="jack">Jack</Option>
          <Option value="lucy">Lucy</Option>
        </Select>
      </li>
      <li>
        <Button type="primary" icon={<SearchOutlined />}>
          查询
        </Button>
      </li>
    </>
  );
};
export default Xiala;
